<div class="page" data-ng-controller="editContentCtrl">
    <section class="panel panel-default table-dynamic">
        <div class="panel-heading">
            <strong>
                <span class="glyphicon glyphicon-th"></span>编辑内容</strong>
        </div>
        <div class="panel-body">
            <div class="col-md-11 col-md-1">
                <form class="form-horizontal form-validation" role="form">

                    <div class="form-group">
                        <label for="title" class="col-sm-2 control-label">标题</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" id="title" placeholder="请填写标题"
                                   value="{{post.title}}" data-ng-model="post.title"/>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="" class="col-sm-2 control-label">内容</label>

                        <div class="col-sm-10">
                            <div id="editor-trigger" style="height: 620px">
                            </div>
                        </div>

                    </div>

                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-success btn-w-md pull-right"
                                    data-ng-click="savePost()">保存
                            </button>
                        </div>
                    </div>
                </form>
            </div>

        </div>
    </section>


</div>